:root {
    font-family: 'Public Sans', sans-serif;
}
body{
    margin: 0;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: #4267B2;
    font-weight: bold;
}
.web-paslaugos {
    position: sticky;
    top: -5px;
    z-index: 2;
    background-color: white;    
    display: flex;
    justify-content: space-around;
    align-items: center;    
    max-height: 3rem;
    box-shadow: 0 0 .4em  #4267B2;
    border-radius: 10px 10px 10px 10px;
    margin: 10px;
    margin-bottom: 0;
    transition: 800ms ease-in-out;    
}
.web-paslaugos:hover {
    box-shadow: 0 0 .8em  #4267B2;
}
.logotipas {
    transition: 300ms ease-in-out;
}
.logotipas:hover {
    transform: scale(1.4);
}
.navigacija {    
    display: flex;
    padding-left: 0;
    /* gap: 2rem; */
    text-decoration: none;
    max-width: 800px;

}
.navigacija > li {
    box-shadow: 0 0 .2em  #4267B2;
    border-radius: 10px 10px 10px 10px;
    padding: .3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
}
.navigacija > li:first-child {
    border-style: solid;
    border-color: #4267B2;

}
.kontaktai {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tel {
    font-size: x-large;
    display: flex;
    color: black;
    align-items: center;    
    border-radius: 10px;
    box-shadow: 0 0 .4em  #4267B2;
    /* padding: 0 3px 0 3px; */
    padding: 4px;    
    background-color: white;
    transition: 300ms ease-in-out;
    height: fit-content;    
}
/* .tel:hover {
    font-size: 62px;    
    transform: translateY(1.5rem) translateX(8px);
    transform: translateX(-80px);
} */
.email {
    margin: 0;
    padding-top: 3px;
 } 
.email > a > svg {
    border-radius: 10px;
    box-shadow: 0 0 .4em  #4267B2;
    padding: 0 3px 0 3px;
    transition: 300ms ease-in-out;

} 
.email > a > svg:hover {
    box-shadow: 0 0 2em  #4267B2;
}
.wrapper {
    width: 100%;
    display: grid;
    justify-items: center;
    align-items: top;
    min-height: 100vh;
       
}
.navigacija > li {
    list-style: none;
    transition: 300ms ease-in-out;
}
.navigacija > li:hover {
    box-shadow: 0 0 2em  #4267B2;

}
.img {
    box-shadow: 0 0 .2em  #4267B2;
    border-radius: 10px 10px 10px 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-self: center;
}
.straipsnis {
    padding: 10px;
    margin: 10px;
    margin-top: 60px;
    max-width: 800px;
    display: grid; 
    justify-items: left;  
    border-radius: 10px;    
    box-shadow: 0 0 .4em  #4267B2;
    font-size: 17px;
}
.straipsnis > p > a {
    font-weight: 100;
}
h1 {
    text-align: center;
    justify-self: center;
}
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px;    
}
.mobile-menu, .mobile-menu-exit {
    display: none;
}
nav.menu-btn {
    display: none;
}
@media (max-width: 912px) {     
    /* .tel:hover {
        font-size: 52px;
    } */
    .img {
        max-width: calc(100vw * .90);
        object-fit: cover;
    }
    .web-paslaugos {
        top: 2px;
    }

}
@media (max-width: 791px) {
    .mobile-menu, .mobile-menu-exit {
        display: unset;
        cursor: pointer;

    }   
    .mobile-menu-exit {
        /* float: right; */
        margin: .5em;
        cursor: pointer;
        justify-self: end;
    }
    nav {
        display: none;
    }
    .navigacija {
        display: grid;
        /* position: absolute; */
        top: 40px;
        margin-top: 0;
    }
    nav.menu-btn {
        display: grid;
        justify-items: center;
    }
    
    nav {
        position: fixed;
        z-index: 999;
        width: 80vw;        
        top: 50px;
        background: #4267B2;
        height: 280px;
        padding: 1em;
        border-radius: 8px;
    }
    
        ul.primary-nav {
            margin-top: 5em;
        }
    
        li a {
                color: white;
                text-decoration: none;
                display: block;
                padding: .5em;
                font-size: 1.3em;
                text-align: right;
        }
        li a:hover {
                    text-shadow: 0 0 2px white;
                }
            
        
}
